@model List<CrazyToDo.Web.Models.MatterViewModel>
    @{
        Layout = null;
    }


    <ul>
        @foreach (var item in Model)
        {
            if (item.State == false)
            {
                <li>
                    <span class="input-group-addon" id="activity-false-left" >
                    <input type="checkbox" id="check" onclick="changeActivityState(@item.Id)" class="activity-false-check" ></span>
                    <span class="input-group-addon" id="activity-false-right" >
                        <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteActivityMatter(@item.Id)" />
                    </span>
                    <p type="text" class="form-control" id="activity-false-text" onclick="details(@item.Id)">@item.Content</p>
                </li>
            }
            else
            {
                <li>
                    <span class="input-group-addon" id="activity-true-left">
                        <input type="checkbox" id="check" checked="checked" onclick="changeActivityState(@item.Id)" class="activity-true-check">
                    </span>
                    <span class="input-group-addon" id="activity-true-right">
                        <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteActivityMatter(@item.Id)" />
                    </span>
                    <p type="text" class="form-control" id="activity-true-text"  onclick="details(@item.Id)">@item.Content</p>
                </li>

            }
        }

    </ul>


